(function(clazz,pid,callback,deletedata){
	var classdat = Get("/clazz/name/"+clazz).obj;
	var stname = deletedata[classdat.query];
	stname = "<div style='color:#F0F'>"+stname+"</div>"
	Ext.MessageBox.confirm("删除框","是否要删除?"+stname,function(id){
		if(id=="yes"){
			var msg = Delete("/"+classdat.sever+"/"+deletedata.id);
			if(msg!=null){
				if(callback!=null){//回调
					eval(callback)(clazz,pid);
				}
			}
		} 
	});
})